package sctu.edu.java.year2016.team04.luoxinghua.lianxi.inside;

/**
 * Created by 落叶的思恋 on 2016/5/30.
 */
import java.util.Scanner;
public class Inside {
    int a,b,i;
    limian li=new limian();
     Inside(){
         System.out.println("输入两个数");
         Scanner scan=new Scanner(System.in);
         this.a=scan.nextInt();
         this.b=scan.nextInt();
     }

        public limian inf(){
       i=a+b;
            System.out.println("在外部内中a+b="+(a+b));
            return new limian() ;}

    class limian {
        public int jia() {
            System.out.println("在内部类中i="+i);
            return i;

        }}

}
